Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODMessageInterface


CreatePartAddrDesc

The CreatePartAddrDesc method creates an address descriptor that specifies the address of the specified part.

void CreatePartAddrDesc (
                        out ODAddressDesc theAddressDesc,
                        in ODPart part);
theAddressDesc
A reference to the address descriptor object to be set to the address of the specified part.
part
A reference to the part whose address is desired.
DISCUSSION
You call this method to create an address descriptor that identifies the OpenDoc document in which the destination part resides.

The address descriptor returned by this method should not be stored persistently because it is only valid while the part is instantiated.

EXCEPTIONS
This method may throw platform-specific exceptions.

SEE ALSO
The ODMessageInterface::CreatePartObjSpec method (page 415).
The ODAddressDesc class (page 39).
"Using CreatePartObjSpec" on page 436 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help